package com.ctsi.hsph.spi.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 对应部门信息的DTO类
 */
@Data
@ApiModel(description = "部门信息")
public class PingshuPositionDTO {

    @ApiModelProperty(value = "创建者ID", required = false)
    private String createBy;

    @ApiModelProperty(value = "创建时间", required = false)
    private String createTime;

    @ApiModelProperty(value = "更新者ID", required = false)
    private String updateBy;

    @ApiModelProperty(value = "更新时间", required = false)
    private String updateTime;

    @ApiModelProperty(value = "部门ID", required = true)
    private String id;

    @ApiModelProperty(value = "部门编码", required = true)
    private String deptCode;

    @ApiModelProperty(value = "部门名称", required = true)
    private String deptName;

    @ApiModelProperty(value = "上级部门编码", required = false)
    private String parentCode;

    @ApiModelProperty(value = "上级部门名称", required = false)
    private String parentName;

    @ApiModelProperty(value = "三级部门编码", required = false)
    private String thirdDeptCode;

    @ApiModelProperty(value = "三级部门名称", required = false)
    private String thirdDeptName;

    @ApiModelProperty(value = "显示顺序", required = false)
    private Integer displayOrder;

    @ApiModelProperty(value = "路径", required = true)
    private String path;

    @ApiModelProperty(value = "层级", required = true)
    private int level;

    @ApiModelProperty(value = "是否是根部门，1是，0否", required = true)
    private int isRoot;

    @ApiModelProperty(value = "责任", required = false)
    private String responsibility;

    @ApiModelProperty(value = "备注", required = false)
    private String remark;

    @ApiModelProperty(value = "状态，1正常，0禁用", required = true)
    private int status;

    @ApiModelProperty(value = "是否删除，0否，1是", required = true)
    private int isDelete;

    @ApiModelProperty(value = "部门编码列表", required = false)
    private String deptCodes;

    @ApiModelProperty(value = "分区编码", required = false)
    private String divisionCode;

    @ApiModelProperty(value = "是否是叶子节点，true是，false否", required = true)
    private boolean leaf;

    @ApiModelProperty(value = "部门全称", required = true)
    private String department;

    @ApiModelProperty(value = "区域名称", required = false)
    private String areaName;

    @ApiModelProperty(value = "区域编码", required = false)
    private String areaCode;
}